home *** CD-ROM | disk | FTP | other *** search
- #
- # This file is called if a player teleports from the Barren World.
- # The $1 argument contains the name of the .KQ file to be loaded in the new
- # world minus the KQ extension.
- #
-
- echo We made it through Alan's code!
- echo and he sent us $1
-
- # Make sure only one ever exists!
- if test $Barren::Teleport::Name != 0
- echo Delete $Barren::Teleport::Name
- deleteObject $Barren::Teleport::Name
- endif
-
- # Load the portal at the correct location for this world.
- loadKQ $1 @ 183000 95500 2000
- set Barren::Teleport::Name $ObjectName
-
-
- # Beam me out Scotty
- KQMonster::setState Connor Portal $Barren::Teleport::Name
-